package language;

class FunctionException extends RuntimeException {

    public FunctionException(String name, Class<? extends LType> clazz) {
        super(name + " is not defined for type " + (clazz.getSimpleName().equals("") ? clazz.getName() : clazz.getSimpleName()));
    }
}
